package net.topcrazy;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: IndexAction
 * @Description: TODO
 * @author ze chen
 */
@Controller
@RequestMapping("/hello")
public class IndexAction {
    @RequestMapping(value = "/hello")
    @ResponseBody
    public String[] index() {
        String[] xx=new String[]{"a","b","c"};
        return xx;
    }
}
